Dempacker

Dempacker takes a demo file name as input. When you click the 'Create' button, it creates a dz file from the demo. It tries to name the dz intelligently based on information inside the demo. Grenade counters are removed, and a healthy nop block is inserted in the beginning of the demo, to work around some rare cases where demos can't be played back.

Dempacker can also automatically create a text file including some information found in the demo file. There are three options to txt file creation:
1. Generate and put inside dz
2. Generate and put next to dz
3. Don't generate
Note, option 2 will make dempacker overwrite an eventual text file that already exists (and also has the same name as the one dempacker intends to create) without prompting. The txt file creation is experimental and can only create text files with a certain layout. At the moment I don't see before me how to implement a template based solution.

The file maps.reg contains a mapping bsp name -> demo name. It is not strictly necessary to use it but it's nice. Extract the file and doubleclick on it to import its content into the registry. I already found a few errors in the map name -> demo name mapping. I'm sure there are others. Any changes you make in this mapping is instantly saved in the registry. Some other data is also saved in the registry, such as your name, and a few gui options (latest demo dir, latest output dir etc). HKEY_CURRENT_USER\Software\SDA\dempacker is where you'll find this information.

Don't try to use dempacker with marathons. The outcome is undefined. Dempacker itself is bound to contain bugs. Tell me about them when you encounter them please. Of course, I have to give a disclaimer: I can not be held responsible for any loss of data, corruption, or other kind of failure or effect caused by dempacker.

Dempacker uses dzip to create the dz files. Dzip has been modified slightly in order to include it as an integral part of dempacker. Dzip is (C) 2000-2002 Stefan Schwoon, Nolan Pflug and can be found at http://speeddemosarchive.com/dzip/

/Mathias
